Conversation
Member
Author
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
|
Container images for this PR have been built successfully!
Built from commit 7589efb |
Member
Author
6e5a2c4 to
708ede9
Compare
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can stay up-to-date and reviewed. |
708ede9 to
b711f12
Compare
8c21173 to
40df004
Compare
117794a to
cc1650d
Compare
0b00872 to
ca88e44
Compare
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can stay up-to-date and reviewed. |
ca88e44 to
888457d
Compare
8dc8b04 to
58a9a31
Compare
58a9a31 to
7589efb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Checklist
mainbranchWhat This PR Implements
Fixes: #2142
Changes Made
Testing Done
./scripts/development/dev.sh startjust lint all)just test backendAI Tool Used (if applicable)
AI Tool:
Assistance Level:
What AI helped with:
I reviewed and edited all AI-generated output:
I ran all required tests and manually verified changes:
Additional Context
Disclaimer Greptiles Reviews use AI, make sure to check over its work.
To better help train Greptile on our codebase, if the comment is useful and valid Like the comment, if its not helpful or invalid Dislike
To have Greptile Re-Review the changes, mention
greptileai.Greptile Summary
This PR adds a universal "all environments" dashboard view that aggregates per-environment snapshot data (containers, images, action items) behind a new
/dashboard/environmentsendpoint, alongside live CPU/memory/disk metrics via WebSocket for each reachable environment. The backend fetches snapshots concurrently (4-way limit, 20 s timeout per environment) and gracefully marks unreachable environments aserrororskippedrather than failing the whole response.All five P0/P1 issues from the previous review round have been resolved: the new endpoint now declares both
BearerAuthandApiKeyAuth;summarizeEnvironmentOverviewInternalusesif/elseso disabled environments are no longer double-counted;\"0\"is replaced with thelocalEnvironmentIDpackage-level constant;pruningEnvironmentIdis set synchronously before theawaitgap inconfirmPrune; andvoid reloadVersionis read before the firstawaitinoverviewSummaryPromise, keeping the summary tiles reactive to manual refreshes.Confidence Score: 5/5
Safe to merge — all previously flagged P0/P1 issues are resolved and no new blocking issues were found.
Every critical concern from the last review round (auth scheme, double-counting, magic string, prune race condition, stale summary tiles) is addressed in this version. The implementation is thorough, well-tested (service + handler tests covering the new endpoint and failure paths), and the concurrency model is safe. Remaining observations are P2 style notes only.
No files require special attention.
Reviews (5): Last reviewed commit: "feat: universal environment dashboard" | Re-trigger Greptile